import { request } from 'ice';

/**
 * 登录
 * @returns
 */
export function login(value): Promise<{
  token: string;
  userName: string;
}> {
  return request.post('/login', value);
}
